package com.smbms.service.impl;

import com.smbms.mapper.RoleMapper;
import com.smbms.pojo.Role;
import com.smbms.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;

    public List<Role> getRoleList() {
        return  roleMapper.selectList(null);
    }

}
